package com.zdlog.wenjuan.service;

import com.zdlog.wenjuan.VO.ResultBoolenVO;
import com.zdlog.wenjuan.VO.ResultVO;
import com.zdlog.wenjuan.dataobject.UserInfo;
import com.zdlog.wenjuan.util.ResultVOUtil;

/**
 * @program: wenjuanSer
 * @PACKAGE_NAME: com.zdlog.wenjuan.service
 * @author: Kuaile
 * @create: 2018-02-03 23:42
 **/
public interface UserService {

    ResultBoolenVO register(UserInfo userInfo);

    ResultVO login(String username, String password);

    Boolean checkEmail(String email);

    Boolean checkName(String name);

    UserInfo findUserId(String userId);
}
